From: Diego Escalante Urrelo Date: Wed, 8 Feb 2012 08:27:39 +0000 (-0500) Subject: gtkactiongroup: clarify set_translation_domain docs X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~18144 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a0f6fc137b81b1cecd012b47419de6144bce5658;p=gtk%2B3.0.git gtkactiongroup: clarify set_translation_domain docs NULL is an actual useful value for gtk_action_group_set_translation_domain, but this information is buried in g_dgettext() documentation. Be extra redundant, to make it obvious that NULL is ok. https://bugzilla.gnome.org/show_bug.cgi?id=669636 --- diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index cb16e44f0e..4c03b7515b 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -1406,7 +1406,8 @@ dgettext_swapped (const gchar *msgid, /** * gtk_action_group_set_translation_domain: * @action_group: a #GtkActionGroup - * @domain: the translation domain to use for g_dgettext() calls + * @domain: (allow-none): the translation domain to use for g_dgettext() + * calls, or %NULL to use the domain set with textdomain() * * Sets the translation domain and uses g_dgettext() for translating the * @label and @tooltip of #GtkActionEntrys added by